package cn.hx.mall_goods.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;

/**
 * 优惠券和产品分类关系表(SmsCouponProductCategoryRelation)实体类
 *
 * @author makejava
 * @since 2022-12-01 15:23:50
 */

@TableName("sms_coupon_product_category_relation")
public class CouponProductCategoryRelation implements Serializable {
    private static final long serialVersionUID = 407088178703448371L;
    
    private Long id;
    
    private Long couponId;
    
    private Long productCategoryId;
    /**
     * 产品分类名称
     */
    private String productCategoryName;
    /**
     * 父分类名称
     */
    private String parentCategoryName;

    public CouponProductCategoryRelation(Long productCategoryId, String productCategoryName) {
        this.productCategoryId = productCategoryId;
        this.productCategoryName=productCategoryName;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCouponId() {
        return couponId;
    }

    public void setCouponId(Long couponId) {
        this.couponId = couponId;
    }

    public Long getProductCategoryId() {
        return productCategoryId;
    }

    public void setProductCategoryId(Long productCategoryId) {
        this.productCategoryId = productCategoryId;
    }

    public String getProductCategoryName() {
        return productCategoryName;
    }

    public void setProductCategoryName(String productCategoryName) {
        this.productCategoryName = productCategoryName;
    }

    public String getParentCategoryName() {
        return parentCategoryName;
    }

    public void setParentCategoryName(String parentCategoryName) {
        this.parentCategoryName = parentCategoryName;
    }

}

